package cn.edu.scau.cmi.limingben.abstract_factory;

import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class show_abstract_factory {
    public show_abstract_factory() throws IOException {
        Stage primaryStage= new Stage();
        Parent root = FXMLLoader.load(getClass().getResource("main.fxml"));
        primaryStage.setTitle("抽象工厂模式");
        primaryStage.setScene(new Scene(root));
        primaryStage.show();
    }
}
